package com.doordu.framework.cloud.xxl;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启xxl-job框架使用
 * @author zxw
 * @date 2020/9/21 11:58
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(DoorduJobAutoConfiguration.class)
@Inherited
public @interface EnableXxlJob {
    boolean autoRegister() default true;
}
